package com.saunter.extendMapper;

import com.saunter.extendModel.UserExtend;
import com.saunter.mapper.UserMapper;
import com.saunter.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface UserExtendMapper extends UserMapper {
    List<User> getAll();
    List<UserExtend> getAllAndJob(Map<String, Object> filter);
    List<User> getByJob(int job_id);
    int setPasswd(@Param("id_num")String id_num, @Param("passwd")String passwd);
    List<String> getIdNumByIdNum(List<String> id_nums);
    int insertByMap(@Param("data")List<Map<String, String>> data, @Param("password")String password, @Param("job_id")int job_id);
}
